﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace DFGK_WMS.Model.Models
{
    /// <summary>
    /// 菜单表
    /// </summary>
    [Table("T_Menu")]
    public class Menu:BaseEntity
    {
        /// <summary>
        /// 菜单名称
        /// </summary>
        [MaxLength(20)]
        public string MenuName { get; set; }
        /// <summary>
        /// 菜单地址
        /// </summary>
        [MaxLength(100)]
        public string MenuUrl { get; set; }
        /// <summary>
        /// 菜单图标
        /// </summary>
        [MaxLength(100)]
        public string MenuIcon { get; set; }
        /// <summary>
        /// 排序号
        /// </summary>
        public int? DisplayOrder { get; set; }
        /// <summary>
        /// 父菜单Id
        /// </summary>
        public long? ParentId { get; set; }
        /// <summary>
        /// 状态：0-禁用；1-启用
        /// </summary>
        public int? Status { get; set; }
      
        /// <summary>
        /// 是否移动端
        /// </summary>
        public bool IsMobile { get; set; }
        /// <summary>
        /// 是否隐藏 true-隐藏 false-不隐藏
        /// </summary>
        public bool IsHide { get; set; }
    }
}
